﻿using System.Windows.Input;
using SportTraining.MVVM.View;

namespace SportTraining.MVVM.ViewModel.Impl
{
    public class MainPageViewModel : PageViewModel<MainPageViewModel>, IMainPageViewModel
    {
        public MainPageViewModel(IMainWindowViewModel mainWindowViewModel) : base(mainWindowViewModel)
        {
        }

        #region Implementation of IMainPageViewModel

        public ICommand CreatePayment
        {
            get { return new Command(param => mainWindowViewModel.CurrentPageUri = AppUri.SectionSelectPage); }
        }
    }

    #endregion
}